/*
 * ConnectivityDetails.java
 *
 * Created on Sep 10, 2003, 3:40 PM
 *
 * Copyright (c) 2003 The General Electric Company
 * 
 * @author Ramesh Venkitaswaran
 * 
 * @version AutoSC Octopus
 * 
 * Last modified by $Author: navdeep_mahajan $ 
 * 
 * Revision Number $Revision: 1.2 $
 * 
 */
package com.ge.healthcare.autosc.common.pojo.sysInfo;

import java.util.ArrayList;

import com.ge.med.service.stp.dataaccessapi.DataItemException;
import com.ge.med.service.stp.gsccmw.clientif.ConnectivityDataItem;

/**
 * Provides getters to access the connection information retrieved from GSCC.
 * 
 */

public class ConnectivityDetails {
	private String systemID = null;
	private String systemIP = null;
	private String connType = null;
	private String subNet = null;
	private String pppType = null;
	private String chapSecret = null;
	private String maxPorts = null;
	private String isoCode = null;
	private String dialString = null;
	private String modemGrpId = null;
	private String svcIsoCode = null;
	private String gatewaySystemId = null;
	private String gatewaySystemIP = null;
	private String gatewayConnCode = null;
	private String gatewayModelType = null;
	private String linkType = null;
	private int linkDelay = 0;
	private String portMasterName = null;
	private String portMasterIP = null;
	private String portMasterPassword = null;
	private String portMasterOSType = null;
	private String routerName = null;
	private ArrayList<?> allIPAddr = null;
	private Boolean isIP = null;
	private Boolean isMVDI = null;
	private String netMask = null;
	private String modemAreaCode = null;
	private String modemNo = null;
	private String modemAdditional = null;
	private String modemExceptionNo = null;
	private String muxDelay = null;
	private String muxPortNo = null;
	private String portNo = null;
	private String lanIPAddr = null;
	private String comment = null;
	private String spaID = null;

	public ConnectivityDetails() {
	}

	public ConnectivityDetails(ConnectivityDataItem dataItem)
			throws DataItemException {
		systemID = dataItem.getSystemId();
		systemIP = dataItem.getSystemIP();
		connType = dataItem.getConnType();
		subNet = dataItem.getSubnet();
		pppType = dataItem.getPPPType();
		chapSecret = dataItem.getChapSecret();
		maxPorts = dataItem.getMaxPorts();
		isoCode = dataItem.getISOCode();
		dialString = dataItem.getDialString();
		modemGrpId = dataItem.getModemGrpId();
		svcIsoCode = dataItem.getSvcISOCode();
		gatewaySystemId = dataItem.getGatewaySystemId();
		gatewaySystemIP = dataItem.getGatewaySystemIP();
		gatewayConnCode = dataItem.getGatewayConnCode();
		gatewayModelType = dataItem.getGatewayModelType();
		linkType = dataItem.getLinkType();
		linkDelay = dataItem.getLinkDelay();
		portMasterName = dataItem.getPortMasterName();
		portMasterIP = dataItem.getPortMasterIP();
		portMasterPassword = dataItem.getPortMasterPassword();
		portMasterOSType = dataItem.getPortMasterOSType();
		routerName = dataItem.getRouterName();
		allIPAddr = dataItem.getAllIPAddr();
		isIP = dataItem.isIP();
		isMVDI = dataItem.isMVDI();
		netMask = dataItem.getNetMask();
		modemAreaCode = dataItem.getModemAreaCode();
		modemNo = dataItem.getModemNo();
		modemAdditional = dataItem.getModemAdditional();
		modemExceptionNo = dataItem.getModemExceptionNo();
		muxDelay = dataItem.getMuxDelay();
		muxPortNo = dataItem.getMuxPortNo();
		portNo = dataItem.getPortNo();
		lanIPAddr = dataItem.getLANIPAddr();
		comment = dataItem.getComment();
		spaID = dataItem.getSpaID();
	}

	public String getSystemID() {
		return systemID;
	}

	public String getSystemIP() {
		return systemIP;
	}

	public String getConnType() {
		return connType;
	}

	public String getSubnet() {
		return subNet;
	}

	public String getPPPType() {
		return pppType;
	}

	public String getChapSecret() {
		return chapSecret;
	}

	public String getMaxPorts() {
		return maxPorts;
	}

	public String getISOCode() {
		return isoCode;
	}

	public String getDialString() {
		return dialString;
	}

	public String getModemGrpId() {
		return modemGrpId;
	}

	public String getSvcISOCode() {
		return svcIsoCode;
	}

	public String getGatewaySystemId() {
		return gatewaySystemId;
	}

	public String getGatewaySystemIP() {
		return gatewaySystemIP;
	}

	public String getGatewayConnCode() {
		return gatewayConnCode;
	}

	public String getGatewayModelType() {
		return gatewayModelType;
	}

	public String getLinkType() {
		return linkType;
	}

	public int getLinkDelay() {
		return linkDelay;
	}

	public String getPortMasterName() {
		return portMasterName;
	}

	public String getPortMasterIP() {
		return portMasterIP;
	}

	public String getPortMasterPassword() {
		return portMasterPassword;
	}

	public String getPortMasterOSType() {
		return portMasterOSType;
	}

	public String getRouterName() {
		return routerName;
	}

	public ArrayList<?> getAllIPAddr() {
		return allIPAddr;
	}

	public Boolean isIP() {
		return isIP;
	}

	public Boolean isMVDI() {
		return isMVDI;
	}

	public String getNetMask() {
		return netMask;
	}

	public String getModemAreaCode() {
		return modemAreaCode;
	}

	public String getModemNo() {
		return modemNo;
	}

	public String getModemAdditional() {
		return modemAdditional;
	}

	public String getModemExceptionNo() {
		return modemExceptionNo;
	}

	public String getMuxDelay() {
		return muxDelay;
	}

	public String getMuxPortNo() {
		return muxPortNo;
	}

	public String getPortNo() {
		return portNo;
	}

	public String getLANIPAddr() {
		return lanIPAddr;
	}

	public String getComment() {
		return comment;
	}

	public String getSpaID() {
		return spaID;
	}
}
